//  自定义token，登录功能实现之前暂时利用它发送请求
// 设置token,自己改,登录功能做好后根据data设置token
export function setToken(data){
    localStorage.setItem("token","eyJhbGciOiJIUzI1NiIsIlR5cGUiOiJKd3QiLCJ0eXAiOiJKV1QifQ.eyJwYXNzd29yZCI6ImYzNTRmYzUwMTJmYTQ0YTE1ZmEyZjQ4NzJjMTNiMTQ5Iiwicm9sZUlkIjoiMyIsImV4cCI6MTcyMjA5NzA5MCwidXNlcm5hbWUiOiJhZG1pbiJ9.NX5H0d0kVhKbgatJvopnVZsL4g8Ura9tE_tI15qaZnQ")
}

export function getToken(){
    return localStorage.getItem("token");
}

export function removeToken(){
    localStorage.removeItem("token");
}